package com.hs.hlw.credit.system.business.service;

import com.hs.hlw.credit.system.business.dto.ResponseDto;
import com.hs.hlw.credit.system.data.mybatis.Pageable;
import com.hs.hlw.credit.system.data.primary.model.SubmissionFormField;

import java.util.List;

/**
 * DataSearchService
 * @author zhb
 * @date 2018/11/26
 */
public interface DataSearchService {
    /**
     * 查询报送数据详情
     * @param formId
     * @param ID
     * @return
     */
    ResponseDto searchSubmissionDetail(Integer formId, Integer ID);

    /**
     * 通过批次查询报送数据详情
     * @param batchId
     * @return
     */
    ResponseDto searchSubmissionDetailByBatch(Integer batchId);

    /**
     * 查询报送数据
     * @param formId
     * @param whereList
     * @param pageable
     * @return
     */
    ResponseDto searchSubmissionData(Integer formId, List<SubmissionFormField> whereList, Pageable pageable);
}